/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author chris
 */
import javax.swing.*;
public class Gun {
private int maxRange;
private int lockTime;
private int accuracy;
private String name;
private ImageIcon icon;
public Gun(ImageIcon myIcon, String myName, int range, int lock, int acc){
    icon = myIcon;
    name = myName;
    maxRange = range;
    lockTime = lock;
    accuracy = acc;
}
public void setIcon(ImageIcon newIcon){icon = newIcon;}
public ImageIcon getIcon(){return icon;}

public void setName(String newName){name = newName;}
public String getName(){return name;}

public void setRange(int newRange){maxRange = newRange;}
public int getRange(){return maxRange;}

public void setLockTime(int newLock){lockTime = newLock;}
public int getLockTime(){return lockTime;}

public void setAccuracy(int newAcc){accuracy = newAcc;}
public int getAccuracy(){return accuracy;}

}
